package com.itheima.demo1exception;
//1.继承Exception
//2.重写构造器
//3.那里需要异常返回 就throw哪里
public class AgeException extends RuntimeException{
    public AgeException(String message)
    {
        super(message);
    }
}
